package ejb;

import java.util.List;

import model.Apply;
import model.Myuser;
import model.Target;

public interface ApplyFacadeEJBRemote {
	
    public boolean createApply(Myuser u, Target t, String reason, String status);
    public boolean setAppStatus(Apply app, String status);
    public boolean ifApplyExist(Myuser u, Target t);
    
    public Apply getApplyById(int id);
    public boolean approveApplyById(int id, boolean isApprove);
    public List<Apply> getAllWaitingApply();    

}
